package com.yunji.cabinet.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CabinetBindDTO {

    @ApiModelProperty("二维码")
    @NotNull(message = "二维码不能为空")
    private String qrcode;

    @ApiModelProperty("芯片Imei")
    private String chipImei;

    @ApiModelProperty("货柜类型")
    private String typeCode;

    @ApiModelProperty("模板ID")
    @NotNull(message = "请选择模板")
    private Long templateId;

    @ApiModelProperty("货柜名称")
    @NotNull(message = "请输入货柜名称")
    private String containerName;

    @ApiModelProperty("点位ID")
    @NotNull(message = "请选择点位")
    private Long locationId;

}
